/*
 * GLButton.h
 *
 *  Created on: Aug 5, 2010
 *      Author: Ry
 */

#ifndef GLBUTTON_H_
#define GLBUTTON_H_

#include <string>
#include "gui/gl/GLComponent.h"

class GLButton : public GLComponent {
protected:
	std::string label;

public:
	GLButton(ShaderProgram *shaderProgram);
	void handleEvent(GUIEvent *event);
	virtual ~GLButton();

	std::string getLabel() const {
		return label;
	}

	void setLabel(std::string label) {
		this->label = label;
	}

};

#endif /* GLBUTTON_H_ */
